<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查询已有客户</title>
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/select.css">
</head>
<body>
<div class="searchCustomer">
    <span class="tiptext">请输入所要查询的客户:</span>
    <input class="searchtext" type="text" id="textSearch" value="" placeholder="输入查询客户的名字">
    <input class="searchbutton" type="button" id="search" value="查询" onclick="searchFor()">
    <input class="searchbutton" type="button" id="searchall" value="查询所有" onclick="searchForAll()">
</div>
<div class="searchresult" id="searchresult">
    <div class="selectFormTop">
        <span class="formtitle"> 客户表单</span>
    </div>
    <div class="showTable">
        <input class="addButton" type="button" value="新增客户" onclick="addCustomer()">
        <input class="addButton" type="button" value="新增客户和联系人" onclick="window.location.href='Form.jsp'">
        <div class="showedForm">
            <table class="table" id="mainform">
                <tr>
                    <td>查看相关</td>
                    <td>编辑</td>
                    <td>删除</td>
                    <td>客户ID</td>
                    <td>客户姓名</td>
                    <td>单位性质</td>
                    <td>行业分类</td>
                    <td>客户来源</td>
                    <td>联系地址</td>
                    <td>是否服务</td>
                    <td>服务类型</td>
                    <td>客户地址</td>
                    <td>客户等级</td>
                    <td>行政区划代码</td>
                    <td>邮政编码</td>
                    <td>客户简称</td>
                    <td>法人</td>
                    <td>组织机构代码</td>
                    <td>官网</td>
                    <td>活动状态</td>
                    <td>办公电话</td>
                </tr>
            </table>

        </div>
    </div>
</div>
<div class="contactShow noshow" id="contactShow">
    <div class="contactParent" id="contactParent">第<span></span>号客户表单</div>
    <div class="selectFormTop">
        <span class="selectForm  cursel" onclick="customerChoice(this)">客户联系人</span>
        <span class="selectForm" onclick="bankNumChoice(this)">银行账号</span>
        <span class="selectForm" onclick="competitorChoice(this)">竞争对手</span>
    </div>
    <div class="showTable" >
        <input class="contactOperate" type="button" value="返回客户表单" onclick="showCustomerForm()">
        <input class="contactOperate" type="button" value="新增联系人" onclick="addContact()">
        <div class="showedForm">
            <table class="table" id="firsttable">
                <tr id="tr">
                    <td>编辑</td>
                    <td>删除</td>
                    <td>#</td>
                    <td>姓名</td>
                    <td>部门</td>
                    <td>职位</td>
                    <td>手机号码</td>
                    <td>对口人员</td>
                    <td>最近沟通时间</td>
                    <td>微信号</td>
                    <td>QQ号</td>
                </tr>
            </table>
        </div>
    </div>
</div>
<script src="js/select.js"></script>
<script type="text/javascript" src="js/jquery-3.4.1.js"></script>
</body>
</html>